package www.reviewW.data;

import java.util.List;

public class test {
    public static void main(String[] args) throws Exception{
        ReviewWData reviewWData = new ReviewWData();
        reviewWData.addModeDatas("语文");
        reviewWData.addModeDatas("数学");
        reviewWData.addModeDatas("英语");

        List<ModeData> modeData = reviewWData.getModeDatas();
        ModeData modeData1 = modeData.get(1);
        modeData1.addKnowledge("知识点1");
        modeData1.addKnowledge("知识点2");
        modeData1.addKnowledge("知识点3");


        ReviewWData.ObjectOut(reviewWData);
    }
}
